/*
#E8E8E8 background
#E94A4A eestec
#9C3232 eestec hover
#FF5A00 arancione
*/

/* GENERAL */
h1 { margin: 0; padding: 0; font-size:28pt; color:white; font-weight: normal; font-weight: 200; }
h2 { margin: 0; padding: 0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-weight: bold; color: white; font-size:12pt; }
h3 { margin: 0; padding: 0; font-size:16pt; color:white; font-weight: normal; font-weight: 200; }
h5 { margin: 0; padding: 0; font-size:13pt; color:white; font-weight: normal; font-weight: 200; }
a { text-decoration: none; font-weight: 200; }
a img { border: none; text-decoration: none !important; }
strong, b { font-weight: bold !important; }
p, span { margin: 0 0 10px 0; padding: 0; font-size: 12pt; text-align: justify; }
body{ background: #e9e9e9; font-family: "SegoeUI-Light", "Segoe UI Light", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 10pt; margin: 0; padding: 0; color: #171717;}
.clear{	clear: both;}
input[type="text"], textarea { border: 1px solid #CCC;}

/* COLORI */
.verde {background-color: #85B21F !important; }
.rossoHover { background-color: #9C3232 !important; }
.blue {  background-color: #0081BA !important; }
.rosso { background-color: #E50200 !important;}
.arancione{ background-color: #F8A916 !important; }
.grey { background-color:#333333 !important;}
.bianco { background-color: #FFF !important; }
.background {background-color: #E8E8E8 !important; }

.bianco a{ color: #171717 !important; }
/* HEADER */
#headerWrapper{
	height: 40px;
	width: 100%;
	}
#headerContainer{
	margin: 0 auto;
	max-width: 960px;
	height: 40px;
}
#logo{
	background: url('images/logo.png') no-repeat right top;
	width: 100px;
	float: left;
	height: 40px;
	margin-right: 50px;
}
#user {
    padding-top: 8px;
}
#member{
	text-align: right;
	/*background: url('images/logo.png') no-repeat right top;*/
	width: 325px;
	float: right;
	height: 29px;
	color: white;
	display: block;
	padding: 3px 0px 0 18px;	
}
#member img{
	height: 20px;
	vertical-align: middle;
}

#menu ul{
}
#menu li {
	height: 29px;
	float: left;
	color: white;
	display: block;
	padding: 11px 18px 0 18px;
	text-transform: uppercase;
}
#menu li:hover{
	background-color: #C00;
}
#mainWrapper{
	margin: 0 auto; 
	max-width: 960px;
}

/* SIDEBAR */
#search{
	background-image: url("images/search.png");
	background-position: 97% 50%;
	background-repeat: no-repeat;
	color: #CCC;
	padding: 6px 24px 6px 5px;
}
#searchContainer {
    float: left;
}
#leftBar{
	color: black;
}
#leftBar h1{
	color: black;
}
#leftBar p, #leftBar span{
	color: black;
}
#leftBar .nav li {
	height: 50px;
}
#leftBar .nav li a span {
	padding-left: 13px;
}
#leftBar .nav li a img {
	vertical-align: middle;
}

/* CONTENUTO */
#leftBar{
	float: left;
	width: 180px;
}
#mainContainer{
    margin-right: 3%;
    margin-left: 3%;
	margin-top: 25px;
}
.entry {
    padding: 15px;
    margin-bottom: 30px;
}
.eventDetail {
    float: left;
    width: 47%;
    margin-right: 3%;
}
.mapsFrame {
    height: 300px;
    width: 50%;
}

/* FOOTER */
#footerWrapper{
	height: 40px;
	color: white;
	width: 100%;
	}
#footerContainer{
	margin: 0 auto;
	max-width: 960px;
	height: 40px;
}
#centerFooter{
	text-align: center;
	padding-top: 11px;
}


/* HOME TILES */
ul#navtile {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul#navtile li {
        float: left;
        width: 48.5%;
        height: 250px;
        margin: 0 3% 3% 0;
        position: relative;
        overflow: hidden;
    }

.small {
    height: 140px !important;
}

ul#navtile li:active {
    width: 46%;
    margin: 1px 21px 21px 1px !important;
}

.small:active {
}

ul#navtile li > a {
    font-weight: normal !important;
    font-weight: 100 !important;
    z-index: 10;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 27pt;
    color: #fff;
    padding: 200px 12px 10px 17px;
}

ul#navtile .small > a {
    padding-top: 80px !important;
}

ul#navtile li .extra {
    z-index: 1;
    line-height: 13pt;
    font-size: 10pt;
    color: #fff;
    height: 180px;
    padding: 14px 17px 45px 17px;
}

    ul#navtile li .extra a {
        color: #fff;
    }

ul#navtile li .items {
    position: absolute;
    height: 20000em;
}
.last {
    margin-right: 0px !important;
}

/* MEDIA SCREEN LAYOUT ELEMENTS */

@media screen and (max-width: 960px) {
    #headerContainer, #footerContainer {
        margin-left: 3%;
        margin-right: 3%;
    }
}

@media screen and (max-width: 680px) {
	#leftBar{
		display: none;
	}
	#mainContainer{
        margin-right: 3%;
		margin-left: 3%;
	}
	#menu{
		display: none;
	}
	#logo{
		float: none;
		margin: 0 auto !important;
	}
	#member{
		display: none;
	}
    .last {
        margin-right: 0px !important;
    }
}
@media screen and (max-width: 480px) {
	ul#navtile li{
		width:96% !important;
        margin-right: 0px !important;
	}

    .last {
        margin-right: 0px !important;
    }
    .first {
        margin-right: 0px !important;
    }
    .singleItem {
        margin-right: 3% !important;
    }

    #mainContainer{
        margin-right: 0% !important;
		margin-left: 3%;
	}


    .eventDetail {
        float: none !important;
        width: 100% !important;
    }
    .mapsFrame {
        width: 100%;
    }

}